package com.onesports.intelligent.k12.polarlight.domain.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 角色Entity
 * @author Wsy
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_role")
public class Role extends BaseEntity {

    /**
     * 角色名称
     */
    @TableField("role_name")
    @ApiModelProperty("角色名称")
    private String roleName;

    /**
     * 单位id 为0则非学校端角色
     */
    @TableField("organization_id")
    private String organizationId;


    /**
     * 是否超管
     */
    @TableField("is_super")
    private Boolean isSuper;

    /**
     * 系统ID
     */
    @TableField("system_code")
    private String systemCode;

    @TableField("member_amount")
    private Integer memberAmount;
}
